package Week03.Day02.Practice1;

/**
 * 运动员类
 */
public class Athlete {
    String name;
    int age;
    public Athlete(){

    }
    public Athlete(String name,int age){
        this.name = name;
        this.age = age;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public int getAge(){
        return this.age;
    }
    public void setAge(){
        this.age = age;
    }
}
